package com.cff.shorturl.manager;

import com.cff.shorturl.cache.Cache;

public abstract class CacheManager {
	public static final String RESOURCE = "resource";

	public static CacheManager getInstance() {
		return LocalCacheManager.getInstance();
	}

	public abstract void clearAll();

	public abstract void putCache(String key, Cache obj);

	public abstract void putCache(String key, String value);

	public abstract Cache getCache(String key);

	public abstract String getString(String key);
}
